package com.qf.contract.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "f_contract_approval")
@Data
@TableName(value = "f_contract_approval")
public class FContractApproval {
    public static final String COL_APPROVAL_ID = "approval_id";
    public static final String COL_CONTRACT_ID = "contract_id";
    public static final String COL_CONTRACT_LEADER_STATUS_DIRECTLY_UNDER = "contract_leader_status_directly_under";
    public static final String COL_CONTRACT_LEADER_STATUS_LEADER_IN_CHARGE = "contract_leader_status_leader_in_charge";
    public static final String COL_CONTRACT_LEADER_STATUS_REVIEWED_BY_THE_FINANCE_DEPARTMENT = "contract_leader_status_reviewed_by_the_finance_department";
    public static final String COL_CONTRACT_LEADER_STATUS_DIRECTLY_UNDER_NOTES = "contract_leader_status_directly_under_notes";
    public static final String COL_CONTRACT_LEADER_STATUS_LEADER_IN_CHARGE_NOTES = "contract_leader_status_leader_in_charge_notes";
    public static final String COL_CONTRACT_LEADER_STATUS_REVIEWED_BY_THE_FINANCE_DEPARTMENT_NOTES = "contract_leader_status_reviewed_by_the_finance_department_notes";
    /**
     * 合同审批id主键
     */
    @TableId(value = "approval_id", type = IdType.INPUT)
    @ApiModelProperty(value = "合同审批id主键")
    private Integer approvalId;
    /**
     * 合同表主键 外键
     */
    @TableField(value = "contract_id")
    @ApiModelProperty(value = "合同表主键 外键")
    private Integer contractId;
    /**
     * 直属领导意见 0同意 1不同意 2领导审批
     */
    @TableField(value = "contract_leader_status_directly_under")
    @ApiModelProperty(value = "直属领导意见 0同意 1不同意 2领导审批")
    private Integer contractLeaderStatusDirectlyUnder;
    /**
     * 分管领导意见 0同意 1不同意 2领导审批
     */
    @TableField(value = "contract_leader_status_leader_in_charge")
    @ApiModelProperty(value = "分管领导意见 0同意 1不同意 2领导审批")
    private Integer contractLeaderStatusLeaderInCharge;
    /**
     * 财务意见 0同意 1不同意
     */
    @TableField(value = "contract_leader_status_reviewed_by_the_finance_department")
    @ApiModelProperty(value = "财务意见 0同意 1不同意")
    private Integer contractLeaderStatusReviewedByTheFinanceDepartment;
    /**
     * 直属领导备注 0同意 1不同意 2领导审批
     */
    @TableField(value = "contract_leader_status_directly_under_notes")
    @ApiModelProperty(value = "直属领导备注 0同意 1不同意 2领导审批")
    private Integer contractLeaderStatusDirectlyUnderNotes;
    /**
     * 分管领导意见备注 0同意 1不同意 2领导审批
     */
    @TableField(value = "contract_leader_status_leader_in_charge_notes")
    @ApiModelProperty(value = "分管领导意见备注 0同意 1不同意 2领导审批")
    private Integer contractLeaderStatusLeaderInChargeNotes;
    /**
     * 财务意见备注 0同意 1不同意
     */
    @TableField(value = "contract_leader_status_reviewed_by_the_finance_department_notes")
    @ApiModelProperty(value = "财务意见备注 0同意 1不同意")
    private Integer contractLeaderStatusReviewedByTheFinanceDepartmentNotes;
}